﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Game.aspx.cs" Inherits="Game" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Amazing Racer - Game</title>
    <!--Game stuff-->
    <script type="text/javascript" src="js/crafty-min.js"></script>
    <script type="text/javascript" src="js/game.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <form id="Form1" runat="server">
    <div>
        <asp:TextBox ID="size_box" runat="server" Visible="True">20</asp:TextBox>
        <asp:Label ID="Label2" runat="server" Text="Height" Visible="True">Maze Size</asp:Label>
        <asp:Button ID="Replay" runat="server" Text="Reset" class="button large blue" />
    </div>
    <asp:Label ID="Label5" runat="server" Text="Current Players"></asp:Label>
    <asp:BulletedList ID="PlayerList" runat="server">
    </asp:BulletedList>
    <script type="text/javascript">
        GameMain('<%=mazeDataJson%>', '<%=size_box.Text %>', '<%=size_box.Text %>');
    </script>
    <div id="game_container" style="margin: auto; width: 800px">
    </div>
    </form>
</asp:Content>
